[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
View:AddField(LongName,ShortName,Field,Picture,When,Valid):
public: return true
The object is appended with next column defined as database field.
Parameter description:
~~~~~~~~~~~~~~~~~~~~~~
LongName: character: default is ShortName
Column name used in mode of Form(ular).
ShortName: character: default is ""
Column name used in mode of Browse.
cField: character: no default.
Full memo field name (field->name),
if no prefix used, it is taken from instvar variable View:Alias.
cPicture: character: default is ""
The column picture display mask.
When: code_block: default is {||true}
Code block to be evaluated before the entering the column editation.
If false the editation is disabled. The result fields or read-only
fields can be produced this way.
Valid: code_block: default is {||true}
Code block to validate the entered data, if the result is true the data
is valid, if false the entered data must be reedited.
nRowSize: numeric: default is MaxRow()/3
The MemoEdit window height as row number.
nColSize: numeric: default is MaxCol()/2
The MemoEdit window width as column number.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson